package com.ruoyi.ies.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 任务考核对象 task_assessment
 * 
 * @author July
 * @date 2023-06-12
 */
public class TaskAssessment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 名称 */
    @Excel(name = "名称")
    private String workName;

    /** 用户名 */
    @Excel(name = "用户名")
    private String username;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 部门 */
    @Excel(name = "部门")
    private String department;

    /** 年龄 */
    @Excel(name = "年龄")
    private Long age;

    /** 手机 */
    @Excel(name = "手机")
    private String phone;

    /** 完成情况 */
    @Excel(name = "完成情况")
    private String completionStatus;

    /** 说明 */
    @Excel(name = "说明")
    private String instruction;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    public void setWorkName(String workName) 
    {
        this.workName = workName;
    }

    public String getWorkName() 
    {
        return workName;
    }
    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setDepartment(String department) 
    {
        this.department = department;
    }

    public String getDepartment() 
    {
        return department;
    }
    public void setAge(Long age) 
    {
        this.age = age;
    }

    public Long getAge() 
    {
        return age;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setCompletionStatus(String completionStatus) 
    {
        this.completionStatus = completionStatus;
    }

    public String getCompletionStatus() 
    {
        return completionStatus;
    }
    public void setInstruction(String instruction) 
    {
        this.instruction = instruction;
    }

    public String getInstruction() 
    {
        return instruction;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("workName", getWorkName())
            .append("username", getUsername())
            .append("name", getName())
            .append("department", getDepartment())
            .append("age", getAge())
            .append("phone", getPhone())
            .append("completionStatus", getCompletionStatus())
            .append("instruction", getInstruction())
            .append("time", getTime())
            .toString();
    }
}
